package com.capgemini.scaffold.common;

import lombok.Getter;

public enum ExceptionEnum {

    DUPLICATE_USER_ACCOUNT(1001, "用户账号已存在");

    @Getter
    private int code;
    @Getter
    private String message;

    ExceptionEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
